package com.kayt.cyberBar.cpublic.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicTaskType;

public interface IPublicTaskTypeDao {
	CPublicTaskType findById(String taskTypeId);
	
	Integer delete(String taskTypeId);
	
	void modify(CPublicTaskType entity) throws SQLException;
	
	Long save(CPublicTaskType entity) throws SQLException;
	
	PageData<CPublicTaskType> findByPage(String hql, Object[] params, LinkedHashMap<String, String> orderMap) throws SQLException;

	PageData<CPublicTaskType> getTaskTypeList(LinkedHashMap<String, String> orderMap) throws SQLException;
}
